package cn.xuexiyuan.springstudy.core.demo04.entity;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DatePrefix extends AbstractPrefix{

    @Override
    public String getPrefix() {
        SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd");
        return sdf.format(new Date());
    }
}
